Intelligent Video Analytics For Smart Cities